package com.kyle;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author：kyle_fu
 * @description: TODO
 * @Date：2024/1/7 11:05
 * @version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient //开启注册中心的服务注册和发现功能
@MapperScan(basePackages = "com.kyle.mapper")
public class Application {

    /**
     * 主方法是Java程序的入口点
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }


}
